import request from './index'


export const uploadFile = (data: FormData) => {
  return request.post('/file/upload', data,{
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}


